package org.corey.share.db.service;

import java.util.List;

public interface DefaultSercive {
	public boolean add(Object entity);
	public boolean delete(Long id,Class cls);
	public boolean update(Object entity);
	public <T> List<T> getAll(Class<T> cls);
	public <T> T getEntity(Class<T> cls,Long id);
}
